FROM jdk

MAINTAINER ygs

LABEL version="1.0" description="this is bdy server" by="ygs"

COPY ./target/*.jar /app.jar

VOLUME /tmp

#ENTRYPOINT ["java", "-jar", "/app.jar"]
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]